import {
  createRouter,
  createWebHashHistory,
  RouteLocationNormalized,
  NavigationGuardNext
} from 'vue-router'
import routes from './router'
const router = createRouter({
  history: createWebHashHistory(),
  routes
})
router.beforeEach((to:RouteLocationNormalized , from:RouteLocationNormalized, next:NavigationGuardNext) :void => {
  next()
})
export default router
